from litestar.contrib.sqlalchemy.base import UUIDAuditBase
from sqlalchemy.orm import Mapped, mapped_column

# SHA_TZ = timezone(
#     timedelta(hours=8),
#     name="Asia/Shanghai",
# )


class TodoItem(UUIDAuditBase):
    __tablename__ = "todo_items"

    title: Mapped[str] = mapped_column(unique=True)
    done: Mapped[bool]
